package mobi.weq.model;

import java.util.UUID;
public class User {

	private String id;
	private String username;
	private String displayName = null;
	private String email;

	private String password;

	/* settings */
	private boolean usingUserFeedback = false;
	private boolean havingLungProblems = false;
	private boolean havingHeartProblems = false;
	private boolean havingRespiratoryProblems = false;
	private String ageGroup = "unspecified";
	
	public User() {
		setUserId(UUID.randomUUID().toString());
	}

	public String getUserId() {
		return id;
	}

	public void setUserId(String id) {
		this.id = id;
	}

	public String getUserName() {
		return username;
	}

	public void setUserName(String username) {
		this.username = username;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getDisplayName() {
		return displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public boolean isUsingUserFeedback() {
		return usingUserFeedback;
	}

	public void setUsingUserFeedback(boolean usingUserFeedback) {
		this.usingUserFeedback = usingUserFeedback;
	}

	public boolean isHavingLungProblems() {
		return havingLungProblems;
	}

	public void setHavingLungProblems(boolean havingLungProblems) {
		this.havingLungProblems = havingLungProblems;
	}

	public boolean isHavingHeartProblems() {
		return havingHeartProblems;
	}

	public void setHavingHeartProblems(boolean havingHeartProblems) {
		this.havingHeartProblems = havingHeartProblems;
	}

	public boolean isHavingRespiratoryProblems() {
		return havingRespiratoryProblems;
	}

	public void setHavingRespiratoryProblems(boolean havingRespiratoryProblems) {
		this.havingRespiratoryProblems = havingRespiratoryProblems;
	}
	public String getAgeGroup() {
		return ageGroup;
	}

	public void setAgeGroup(String ageGroup) {
		this.ageGroup = ageGroup;
	}

}
